.about-me {
  margin: 110px 70px 100px;
}

.about-me__info {
  display: grid;
  grid-template-columns: 1fr 270px;
  grid-template-rows: 2fr 1fr 5fr 1fr;
  column-gap: 49px;
  margin-top: 66px;
  max-width: 100%;
}

.about-me__title {
  margin: 0;
  font-size: 50px;
  font-weight: 400;
  line-height: 58px; /* 116% */
  letter-spacing: -2px;
}

.about-me__subtitle {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
}

.about-me__text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.about-me__github {
  align-self: end;
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

.about-me__github:hover {
  opacity: 0.7;
  cursor: pointer;
}

.about-me__photo {
  grid-column: 2/3;
  grid-row: 1/5;
  justify-self: stretch;
  align-self: stretch;
}

@media screen and (max-width: 768px) {
  .about-me {
    margin: 81px 50px 89px;
  }

  .about-me__info {
    grid-template-columns: 1fr 255px;
    grid-template-rows: 2fr 1fr 7fr 1fr;
  }

  .about-me__title {
    font-size: 40px;
    line-height: 40px; /* 100% */
    letter-spacing: -1.6px;
  }

  .about-me__subtitle {
    font-size: 12px;
    line-height: 18px;
  }

  .about-me__text {
    font-size: 12px;
    line-height: 18px;
  }
}

@media screen and (max-width: 620px) {
  .about-me__info {
    max-width: 292px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 292px;
    grid-template-rows: 352px 3fr 1fr 8fr 20px;
    row-gap: 20px;
  }

  .about-me__photo {
    grid-column: 1/2;
    grid-row: 1/2;
    align-self: center;
  }
}

@media screen and (max-width: 480px) {

  .about-me {
    margin: 41px 14px 75px;
  }  

  .about-me__title {
    align-self: end;
    font-size: 30px;
    letter-spacing: -1.2px;
  }

  .about-me__subtitle, .about-me__text {
    font-size: 11px;
    line-height: 16px;
  }
}